package com.share.design.facade;

/**
 * 门面模式：将多个实现封装，比如电脑启动，你只要按开机键，cpu memory等后面会启动
 * author:caifan
 * date:2020/2/5
 */
public class FacadeClient {

    public static void main(String[] args) {
        Computer computer = new Computer();
        computer.startup();
        System.out.println("computer start successs");
        computer.shutdown();
        System.out.println("computer shutdown success");
    }
}
